package org.eden.karb.session;

import org.eden.karb.activity.exception.ActivityException;
import org.eden.karb.exception.KarbException;
import org.eden.karb.session.entity.ActiveSession;

import java.util.UUID;

/**
 * @author trsimoes
 */
public interface SessionManager {

    ActiveSession createSession() throws ActivityException;

    void start(UUID sessionKey);

    ActiveSession getSession(UUID sessionKey);

    void updateSession(ActiveSession session) throws KarbException;
}
